package cn.hsa.fqz.common.enums;

/**
 * @author Administrator
 * @version 1.0
 * @date 2023-11-06 18:03
 */
public enum DataSourceTypeEnums {

    MYSQL("jdbc:mysql","com.mysql.cj.jdbc.Driver"),CLICKHOUSE("jdbc:clickhouse","ru.yandex.clickhouse.ClickHouseDriver"),
    ODPS("jdbc:odps","com.aliyun.odps.jdbc.OdpsDriver");

    private String prefix;

    private String driver;

    private DataSourceTypeEnums(String prefix,String driver){
        this.driver = driver;
        this.prefix = prefix;
    }

    public String getDriver(){
        return driver;
    }

    public String getPrefix(){ return prefix;}
}
